/**
 * fshows.com
 * Copyright (C) 2013-2020 All Rights Reserved.
 */
package com.fshows.leshuapay.sdk.client;

import com.fshows.leshuapay.sdk.response.UploadPicResponse;

/**
 * @author zhaoyi
 * @version UploadPictureClient.java, v 0.1 2020-07-27 10:29 AM zhaoyi
 */
public interface UploadPictureClient {


    /**
     * 发起图片上传请求
     *
     * @param filePath
     * @param subAgentId
     * @return
     * @throws Exception
     */
    UploadPicResponse upload(String filePath, String subAgentId) throws Exception;

    /**
     * 发起图片上传请求
     *
     * @param serverUrl
     * @param agentId
     * @param privateKey
     * @param filePath
     * @return
     * @throws Exception
     */
    UploadPicResponse upload(String serverUrl, String agentId, String privateKey, String filePath) throws Exception;

}
